package com.oak.designmode._09_prototype;

import lombok.Data;

import java.util.Arrays;

/**
 * @ClassName: Resume
 * @Description
 * @Author guoxy
 * @Date 2020/2/27
 * @Version 1.0
 */
@Data
public class Resume implements Cloneable{
    // public Resume clone();
    private String name;
    private Integer age;
    private  String[] hobby;


    @Override
    protected Object clone() throws CloneNotSupportedException {
        return super.clone();
    }

    @Override
    public String toString() {
        return "Resume{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", hobby=" + Arrays.toString(hobby) +
                '}';
    }
}
